package com.lingnan.tijian.mapper;

import com.lingnan.tijian.domain.Cireport;
import com.lingnan.tijian.domain.Orders;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CireportMapper {
    int deleteByPrimaryKey(Integer cirId);

    int insert(Cireport record);

    int insertSelective(Cireport record);

    Cireport selectByPrimaryKey(Integer cirId);

    int updateByPrimaryKeySelective(Cireport record);

    int updateByPrimaryKey(Cireport record);

    @Select("select cirId,ciId,ciName,orderId from cireport where orderId=#{orderId}")
    List<Cireport> selectReportByOrderId(Orders orders);
}